import request from '@/utils/request'

// 获取个人病例
export const getMedicalRecord = () => {
  return request.get('/ai/getMedicalRecord')
}

// 保存个人病例
export const saveMedicalRecord = (fromData) => {
  return request.post('/ai/saveMedicalRecord', fromData)
}

// 发送消息
export const sendMessage = (message, inputType) => {
  return request.post('/ai/sendMessage', {
    message,
    inputType
  })
}
